package com.shop.cloud.dao.hongfu;

import java.util.List;
import java.util.Map;

import com.shop.cloud.common.mybatis.MybatisDao;
import com.shop.cloud.domain.hongfu.User;

/**
 * userDao
 */
public interface UserDao extends MybatisDao<User>{
	User findByIdOrPhone(final Map<String, Object> params);

	List<User> finddown(User user);

	User getRoleId(Long userId);

	List<User> findDownList(User user);

	User topUser(User user);
	
	User selectMsgByPhone(Map<String, Object> params);
	
	List<User> rebateUsers(Map<String, Object> params);
	
	List<User> handleRebateUsers(Map<String, Object> params);
	
	User getUserByUserId(Long userId);
	
	User getGoodRebate(User user);
}